package game.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import common.model.po.GMilestoneRequirement;
import game.mapper.GMilestoneRequirementMapper;
import game.model.vo.MilestoneRequirementVo;
import game.service.GMilestoneRequirementService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 服务实现类
 *
 * @author 米泽鹏
 * @since 2024-01-19 下午 05:05
 */
@Service
public class GMilestoneRequirementServiceImpl extends ServiceImpl<GMilestoneRequirementMapper, GMilestoneRequirement> implements GMilestoneRequirementService {

	@Resource
	private GMilestoneRequirementMapper mapper;

	@Override
	public List<MilestoneRequirementVo> getAllMilestoneRequirementVoByMilestoneId(Long milestoneId) {
		return mapper.getAllMilestoneRequirementVoByMilestoneId(milestoneId);
	}

}
